<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Jetson Inference: jetson-inference/homographyNet.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NVLogo_2D.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Jetson Inference
   </div>
   <div id="projectbrief">DNN Vision Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('homographyNet_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">homographyNet.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="homographyNet_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * copy of this software and associated documentation files (the &quot;Software&quot;),</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * to deal in the Software without restriction, including without limitation</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * the rights to use, copy, modify, merge, publish, distribute, sublicense,</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * and/or sell copies of the Software, and to permit persons to whom the</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * Software is furnished to do so, subject to the following conditions:</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * The above copyright notice and this permission notice shall be included in</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * all copies or substantial portions of the Software.</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * DEALINGS IN THE SOFTWARE.</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160; </div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#ifndef __HOMOGRAPHY_NET_H__</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#define __HOMOGRAPHY_NET_H__</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="tensorNet_8h.html">tensorNet.h</a>&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#if NV_TENSORRT_MAJOR &gt;= 5</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#define HAS_HOMOGRAPHY_NET</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="group__homographyNet.html#ga9e1c44a4bc51820a4ae003bc7439ce5c">   44</a></span>&#160;<span class="preprocessor">#define HOMOGRAPHY_NET_DEFAULT_INPUT   &quot;input_0&quot;</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="group__homographyNet.html#ga01d17ced2d6ac4a948d6a6b77f24fbf9">   50</a></span>&#160;<span class="preprocessor">#define HOMOGRAPHY_NET_DEFAULT_OUTPUT  &quot;output_0&quot;</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classhomographyNet.html">   57</a></span>&#160;<span class="keyword">class </span><a class="code" href="classhomographyNet.html">homographyNet</a> : <span class="keyword">public</span> <a class="code" href="classtensorNet.html">tensorNet</a></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;{</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82">   63</a></span>&#160;        <span class="keyword">enum</span> <a class="code" href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82">NetworkType</a></div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        {</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82a04c00dc2d5c68757e521e31695c43ce0">   65</a></span>&#160;                <a class="code" href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82a04c00dc2d5c68757e521e31695c43ce0">CUSTOM</a> = 0,     </div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82ac857b1dd757240a4f66a470da9c53aa4">   66</a></span>&#160;                <a class="code" href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82ac857b1dd757240a4f66a470da9c53aa4">COCO_128</a>,               </div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82adf0f6683443f835709d064d1772d82fe">   67</a></span>&#160;                <a class="code" href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82adf0f6683443f835709d064d1772d82fe">WEBCAM_320</a>      </div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        };</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        <span class="keyword">static</span> <a class="code" href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82">NetworkType</a> <a class="code" href="classhomographyNet.html#a2cd472fc782dfe59880591e369067931">NetworkTypeFromStr</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* model_name );</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <span class="keyword">static</span> <a class="code" href="classhomographyNet.html">homographyNet</a>* <a class="code" href="classhomographyNet.html#afeaaa15b697c81102f2f8628979f2115">Create</a>( <a class="code" href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82">NetworkType</a> networkType=<a class="code" href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82adf0f6683443f835709d064d1772d82fe">WEBCAM_320</a>, uint32_t maxBatchSize=1, </div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;                                                     <a class="code" href="group__tensorNet.html#gaac6604fd52c6e5db82877390e0378623">precisionType</a> precision=<a class="code" href="group__tensorNet.html#ggaac6604fd52c6e5db82877390e0378623a1d325738f49e8e4c424ff671624e66f9">TYPE_FASTEST</a>, <a class="code" href="group__tensorNet.html#gaa5d3f9981cdbd91516c1474006a80fe4">deviceType</a> device=<a class="code" href="group__tensorNet.html#ggaa5d3f9981cdbd91516c1474006a80fe4adc7f3f88455afa81458863e5b3092e4b">DEVICE_GPU</a>, </div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;                                                     <span class="keywordtype">bool</span> allowGPUFallback=<span class="keyword">true</span> );</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        </div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <span class="keyword">static</span> <a class="code" href="classhomographyNet.html">homographyNet</a>* <a class="code" href="classhomographyNet.html#afeaaa15b697c81102f2f8628979f2115">Create</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* model_path, </div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;                                                        <span class="keyword">const</span> <span class="keywordtype">char</span>* input = <a class="code" href="group__homographyNet.html#ga9e1c44a4bc51820a4ae003bc7439ce5c">HOMOGRAPHY_NET_DEFAULT_INPUT</a>, </div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;                                                        <span class="keyword">const</span> <span class="keywordtype">char</span>* output = <a class="code" href="group__homographyNet.html#ga01d17ced2d6ac4a948d6a6b77f24fbf9">HOMOGRAPHY_NET_DEFAULT_OUTPUT</a>, </div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;                                                        uint32_t maxBatchSize=1, <a class="code" href="group__tensorNet.html#gaac6604fd52c6e5db82877390e0378623">precisionType</a> precision=<a class="code" href="group__tensorNet.html#ggaac6604fd52c6e5db82877390e0378623a1d325738f49e8e4c424ff671624e66f9">TYPE_FASTEST</a>,</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;                                                        <a class="code" href="group__tensorNet.html#gaa5d3f9981cdbd91516c1474006a80fe4">deviceType</a> device=<a class="code" href="group__tensorNet.html#ggaa5d3f9981cdbd91516c1474006a80fe4adc7f3f88455afa81458863e5b3092e4b">DEVICE_GPU</a>, <span class="keywordtype">bool</span> allowGPUFallback=<span class="keyword">true</span> );</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <span class="keyword">static</span> <a class="code" href="classhomographyNet.html">homographyNet</a>* <a class="code" href="classhomographyNet.html#afeaaa15b697c81102f2f8628979f2115">Create</a>( <span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv );</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        </div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        <span class="keyword">virtual</span> <a class="code" href="classhomographyNet.html#a4c155c292277ac2b5602701a39205552">~homographyNet</a>();</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        </div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classhomographyNet.html#ab663c877b2617a1647aff07c5f89c51f">FindDisplacement</a>( <span class="keywordtype">float</span>* imageA, <span class="keywordtype">float</span>* imageB, uint32_t width, uint32_t height, <span class="keywordtype">float</span> displacement[8] );</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;        </div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classhomographyNet.html#a91408cf0c0b5dbefbd039ed65d4f759c">FindHomography</a>( <span class="keywordtype">float</span>* imageA, <span class="keywordtype">float</span>* imageB, uint32_t width, uint32_t height, <span class="keywordtype">float</span> H[3][3] );</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        </div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classhomographyNet.html#a91408cf0c0b5dbefbd039ed65d4f759c">FindHomography</a>( <span class="keywordtype">float</span>* imageA, <span class="keywordtype">float</span>* imageB, uint32_t width, uint32_t height, <span class="keywordtype">float</span> H[3][3], <span class="keywordtype">float</span> H_inv[3][3] );</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classhomographyNet.html#a6afdec29fe8fdf9cc6c88ef521269a1e">ComputeHomography</a>( <span class="keyword">const</span> <span class="keywordtype">float</span> displacement[8], <span class="keywordtype">float</span> H[3][3] );</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;        </div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="classhomographyNet.html#a6afdec29fe8fdf9cc6c88ef521269a1e">ComputeHomography</a>( <span class="keyword">const</span> <span class="keywordtype">float</span> displacement[8], <span class="keywordtype">float</span> H[3][3], <span class="keywordtype">float</span> H_inv[3][3] );</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        <span class="comment">// constructor</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        <a class="code" href="classhomographyNet.html#ad6e8bd11b7e645b3e6019880b7d0e5bb">homographyNet</a>();</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;};</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div><div class="ttc" id="classhomographyNet_html_aac3f2e070bad0f23758b901859e4dc82adf0f6683443f835709d064d1772d82fe"><div class="ttname"><a href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82adf0f6683443f835709d064d1772d82fe">homographyNet::WEBCAM_320</a></div><div class="ttdoc">Sequences collected from webcam (320x240 input) </div><div class="ttdef"><b>Definition:</b> homographyNet.h:67</div></div>
<div class="ttc" id="group__tensorNet_html_gaac6604fd52c6e5db82877390e0378623"><div class="ttname"><a href="group__tensorNet.html#gaac6604fd52c6e5db82877390e0378623">precisionType</a></div><div class="ttdeci">precisionType</div><div class="ttdoc">Enumeration for indicating the desired precision that the network should run in, if available in hard...</div><div class="ttdef"><b>Definition:</b> tensorNet.h:79</div></div>
<div class="ttc" id="group__tensorNet_html_ggaa5d3f9981cdbd91516c1474006a80fe4adc7f3f88455afa81458863e5b3092e4b"><div class="ttname"><a href="group__tensorNet.html#ggaa5d3f9981cdbd91516c1474006a80fe4adc7f3f88455afa81458863e5b3092e4b">DEVICE_GPU</a></div><div class="ttdoc">GPU (if multiple GPUs are present, a specific GPU can be selected with cudaSetDevice() ...</div><div class="ttdef"><b>Definition:</b> tensorNet.h:108</div></div>
<div class="ttc" id="group__homographyNet_html_ga9e1c44a4bc51820a4ae003bc7439ce5c"><div class="ttname"><a href="group__homographyNet.html#ga9e1c44a4bc51820a4ae003bc7439ce5c">HOMOGRAPHY_NET_DEFAULT_INPUT</a></div><div class="ttdeci">#define HOMOGRAPHY_NET_DEFAULT_INPUT</div><div class="ttdoc">Name of default input blob for homographyNet ONNX models. </div><div class="ttdef"><b>Definition:</b> homographyNet.h:44</div></div>
<div class="ttc" id="classhomographyNet_html_aac3f2e070bad0f23758b901859e4dc82a04c00dc2d5c68757e521e31695c43ce0"><div class="ttname"><a href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82a04c00dc2d5c68757e521e31695c43ce0">homographyNet::CUSTOM</a></div><div class="ttdoc">Custom model from user. </div><div class="ttdef"><b>Definition:</b> homographyNet.h:65</div></div>
<div class="ttc" id="group__homographyNet_html_ga01d17ced2d6ac4a948d6a6b77f24fbf9"><div class="ttname"><a href="group__homographyNet.html#ga01d17ced2d6ac4a948d6a6b77f24fbf9">HOMOGRAPHY_NET_DEFAULT_OUTPUT</a></div><div class="ttdeci">#define HOMOGRAPHY_NET_DEFAULT_OUTPUT</div><div class="ttdoc">Name of default output blob for homographyNet ONNX models. </div><div class="ttdef"><b>Definition:</b> homographyNet.h:50</div></div>
<div class="ttc" id="group__tensorNet_html_gaa5d3f9981cdbd91516c1474006a80fe4"><div class="ttname"><a href="group__tensorNet.html#gaa5d3f9981cdbd91516c1474006a80fe4">deviceType</a></div><div class="ttdeci">deviceType</div><div class="ttdoc">Enumeration for indicating the desired device that the network should run on, if available in hardwar...</div><div class="ttdef"><b>Definition:</b> tensorNet.h:106</div></div>
<div class="ttc" id="classhomographyNet_html"><div class="ttname"><a href="classhomographyNet.html">homographyNet</a></div><div class="ttdoc">Homography estimation networks with TensorRT support. </div><div class="ttdef"><b>Definition:</b> homographyNet.h:57</div></div>
<div class="ttc" id="group__tensorNet_html_ggaac6604fd52c6e5db82877390e0378623a1d325738f49e8e4c424ff671624e66f9"><div class="ttname"><a href="group__tensorNet.html#ggaac6604fd52c6e5db82877390e0378623a1d325738f49e8e4c424ff671624e66f9">TYPE_FASTEST</a></div><div class="ttdoc">The fastest detected precision should be use (i.e. </div><div class="ttdef"><b>Definition:</b> tensorNet.h:82</div></div>
<div class="ttc" id="classhomographyNet_html_aac3f2e070bad0f23758b901859e4dc82"><div class="ttname"><a href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82">homographyNet::NetworkType</a></div><div class="ttdeci">NetworkType</div><div class="ttdoc">Network choice enumeration. </div><div class="ttdef"><b>Definition:</b> homographyNet.h:63</div></div>
<div class="ttc" id="tensorNet_8h_html"><div class="ttname"><a href="tensorNet_8h.html">tensorNet.h</a></div></div>
<div class="ttc" id="classhomographyNet_html_ab663c877b2617a1647aff07c5f89c51f"><div class="ttname"><a href="classhomographyNet.html#ab663c877b2617a1647aff07c5f89c51f">homographyNet::FindDisplacement</a></div><div class="ttdeci">bool FindDisplacement(float *imageA, float *imageB, uint32_t width, uint32_t height, float displacement[8])</div><div class="ttdoc">Find the displacement from imageA to imageB. </div></div>
<div class="ttc" id="classhomographyNet_html_a6afdec29fe8fdf9cc6c88ef521269a1e"><div class="ttname"><a href="classhomographyNet.html#a6afdec29fe8fdf9cc6c88ef521269a1e">homographyNet::ComputeHomography</a></div><div class="ttdeci">bool ComputeHomography(const float displacement[8], float H[3][3])</div><div class="ttdoc">Given the displacement from FindDisplacement(), compute the homography. </div></div>
<div class="ttc" id="classhomographyNet_html_afeaaa15b697c81102f2f8628979f2115"><div class="ttname"><a href="classhomographyNet.html#afeaaa15b697c81102f2f8628979f2115">homographyNet::Create</a></div><div class="ttdeci">static homographyNet * Create(NetworkType networkType=WEBCAM_320, uint32_t maxBatchSize=1, precisionType precision=TYPE_FASTEST, deviceType device=DEVICE_GPU, bool allowGPUFallback=true)</div><div class="ttdoc">Load a new network instance. </div></div>
<div class="ttc" id="classhomographyNet_html_a4c155c292277ac2b5602701a39205552"><div class="ttname"><a href="classhomographyNet.html#a4c155c292277ac2b5602701a39205552">homographyNet::~homographyNet</a></div><div class="ttdeci">virtual ~homographyNet()</div><div class="ttdoc">Destroy. </div></div>
<div class="ttc" id="classhomographyNet_html_a91408cf0c0b5dbefbd039ed65d4f759c"><div class="ttname"><a href="classhomographyNet.html#a91408cf0c0b5dbefbd039ed65d4f759c">homographyNet::FindHomography</a></div><div class="ttdeci">bool FindHomography(float *imageA, float *imageB, uint32_t width, uint32_t height, float H[3][3])</div><div class="ttdoc">Find the homography that warps imageA to imageB. </div></div>
<div class="ttc" id="classtensorNet_html"><div class="ttname"><a href="classtensorNet.html">tensorNet</a></div><div class="ttdoc">Abstract class for loading a tensor network with TensorRT. </div><div class="ttdef"><b>Definition:</b> tensorNet.h:188</div></div>
<div class="ttc" id="classhomographyNet_html_a2cd472fc782dfe59880591e369067931"><div class="ttname"><a href="classhomographyNet.html#a2cd472fc782dfe59880591e369067931">homographyNet::NetworkTypeFromStr</a></div><div class="ttdeci">static NetworkType NetworkTypeFromStr(const char *model_name)</div><div class="ttdoc">Parse a string to one of the built-in pretrained models. </div></div>
<div class="ttc" id="classhomographyNet_html_aac3f2e070bad0f23758b901859e4dc82ac857b1dd757240a4f66a470da9c53aa4"><div class="ttname"><a href="classhomographyNet.html#aac3f2e070bad0f23758b901859e4dc82ac857b1dd757240a4f66a470da9c53aa4">homographyNet::COCO_128</a></div><div class="ttdoc">Synthetically-warped COCO (128x128 input) </div><div class="ttdef"><b>Definition:</b> homographyNet.h:66</div></div>
<div class="ttc" id="classhomographyNet_html_ad6e8bd11b7e645b3e6019880b7d0e5bb"><div class="ttname"><a href="classhomographyNet.html#ad6e8bd11b7e645b3e6019880b7d0e5bb">homographyNet::homographyNet</a></div><div class="ttdeci">homographyNet()</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_2e4d84877693cd000e5cb535f4b23486.html">jetson-inference</a></li><li class="navelem"><a class="el" href="homographyNet_8h.html">homographyNet.h</a></li>
    <li class="footer">Generated on Thu Sep 26 2019 12:19:11 for Jetson Inference by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
